﻿var eventModule = angular.module("eventModule", []).config(function ($routeProvider, $locationProvider) {
    
    $routeProvider.when('/Vacancy/New', { templateUrl: '/Templates/AddVacancy.html', controller: 'vacancyController' });
    $routeProvider.when('/Vacancy/List', { templateUrl: '/Templates/Vacancy.html', controller: 'showvacancyController' });
    $routeProvider.when('/detail/:id', { templateUrl: '/Templates/UpdateVacancy.html', controller: 'detailvacancyController' });
    $routeProvider.when('/Vacancy/Post', { templateUrl: '/Templates/PostJob.html', controller: 'showvacancyController' });
    $routeProvider.when('/skill/:id', { templateUrl: '/Templates/Skills.html', controller: 'skillController' });
    $routeProvider.when('/Support', { templateUrl: '/Templates/Support.html' });
    $routeProvider.when('/Applicants/List', { templateUrl: '/Templates/Applicants.html', controller: 'applicantsController' });
    $routeProvider.when('/Rank', { templateUrl: '/Templates/Ranking.html', controller: 'rankingController' });
    $routeProvider.when('/Compare', { templateUrl: '/Templates/Compare.html', controller: 'compareController' });


    $locationProvider.html5Mode(true);
});